package com.bbx.api.sdk.model.passanger.Return.MyOrderList;
import com.bbx.api.sdk.model.passanger.Return.Coupon.Metadata;
import com.bbx.api.sdk.net.base.JsonBuild;


public class Discount {
	public String create_time;
	public long expire_time;
	public int sum;
	public int state;
	public String type;
	public String metadata;

	public int getSum() {
		return sum;
	}

	public void setSum(int sum) {
		this.sum = sum;
	}
	public void setMetadata(Metadata metadata){
		String JsonString = new JsonBuild().setModel(metadata).getJsonString(false);
		 this.metadata=JsonString;
	}
	public String getMetadata(){
		return metadata;
	}
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}